const emergencys = require("../../sql/emergencys");
const sql = require('../../sql/mysql');
const jwt = require("jsonwebtoken");

module.exports = (req,res)=>{
   sql.get(emergencys,{_id:req.fields._id}).then(data=>{
      res.send({
         code:0,
         msg:"搜索成功",
         data,
      })
   })
}